﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebFormsIdentity.Models
{
    /// <summary>
    /// 登录信息
    /// </summary>
    public class LoginData
    {
        private string loginName = null;
        /// <summary>
        /// 登录名
        /// </summary>
        public string LoginName
        {
            get { return loginName; }
            set { loginName = value; }
        }

        private int roleId;
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleId
        {
            get { return roleId; }
            set { roleId = value; }
        }

        private string userName = null;
        /// <summary>
        /// 用户真实姓名
        /// </summary>
        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }

        private string password = null;
        /// <summary>
        /// 密码
        /// </summary>
        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        private string mobilePhone = null;
        /// <summary>
        /// 手机号码
        /// </summary>
        public string MobilePhone
        {
            get { return mobilePhone; }
            set { mobilePhone = value; }
        }


        private bool rememberMe = false;
        /// <summary>
        /// 记住我
        /// </summary>
        public bool RememberMe
        {
            get { return rememberMe; }
            set { rememberMe = value; }
        }
    }
}